repos:
    - repo: https://github.com/antonbabenko/pre-commit-terraform
      rev: v1.78.0
      hooks:
          - id: terraform_fmt
          - id: terraform_validate
          # - id: terraform_tfsec
          - id: terraform_docs
            args:
            - --hook-config=--path-to-file=README.md        # Valid UNIX path. I.e. ../TFDOC.md or docs/README.md etc.
            - --hook-config=--add-to-existing-file=true     # Boolean. true or false
